﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity.ModelConfiguration;
using System.ComponentModel.DataAnnotations.Schema;

using SMG.Domain.Model.Program;


namespace Infrastructure.Repository.EntityFramework.Program
{
    public class BillVersionRecordConfiguration : EntityTypeConfiguration<BillVersionRecord>
    {

        public BillVersionRecordConfiguration()
        {
            HasKey<long>(v => v.ID);
            Property(v => v.ID)
                .HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity)
                .IsRequired();
        }

    }
}
